import request from '@/utils/request'

// 查询流程工作台列表
export function listWfWorkbenchConfig(query) {
  return request({
    url: '/workbenchConfig/wfWorkbenchConfig/list',
    method: 'get',
    params: query
  })
}

// 查询流程工作台详细
export function getWfWorkbenchConfig(id) {
  return request({
    url: '/workbenchConfig/wfWorkbenchConfig/' + id,
    method: 'get'
  })
}

// 保存流程工作台
export function saveWfWorkbenchConfig(data) {
  return request({
    url: '/workbenchConfig/wfWorkbenchConfig/save',
    method: 'post',
    data: data
  })
}

// 删除流程工作台
export function delWfWorkbenchConfig(id) {
  return request({
    url: '/workbenchConfig/wfWorkbenchConfig/' + id,
    method: 'delete'
  })
}

// 导出流程工作台
export function exportWfWorkbenchConfig(query) {
  return request({
    url: '/workbenchConfig/wfWorkbenchConfig/export',
    method: 'get',
    params: query
  })
}
